/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package job;

import infr.Logger4j;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.JobListener;

/**
 *
 * @author bighead
 */
public class CalculateTimeJobListener implements JobListener {

    @Override
    public String getName() {
        return "CalculateTimeJobListener";
    }

    @Override
    public void jobToBeExecuted(JobExecutionContext context) {
        Logger4j.info(getName() + ":jobToBeExecuted");
    }

    @Override
    public void jobExecutionVetoed(JobExecutionContext context) {
        Logger4j.info(getName() + ":jobExecutionVetoed");
    }

    @Override
    public void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException) {
        Logger4j.info(getName() + ":jobWasExecuted");
    }

}
